var arr=[1,2,3,4,'你好',{name:'堑智'},[11,22,33]]

console.log(arr.indexOf('你好'));